  #!/usr/bin/env bash

#########cipherWithDKey
curl -X POST -H "Content-Type:application/x-zc-object" \
-d '{"cbcEnable":true,"wifiId":"86500110001000100010000010b5bc926678","payload": "ZWR3aW4xOTg3"}' \
"http://ac-java-warehouse:5814/ac-julink-warehouse/cipherWithDKey"

curl -X POST -H "Content-Type:application/x-zc-object" \
-d '{"cbcEnable":true,"wifiId":"865001100040001000100000100000000008","payload": "ZWR3aW4xOTg3"}' \
"http://ac-java-warehouse:5814/zc-julink-warehouse/v1/cipherWithDKey"

curl -X POST -H "Content-Type:application/x-zc-object" \
-d '{"wifiId":"865001100040001000100000100000000008","payload": "ZWR3aW4xOTg3"}' \
"http://ac-julink-warehouse:5814/zc-julink-warehouse/v1/cipherWithDKey"


#########getCipheredDKey
curl -X POST -H "Content-Type:application/x-zc-object" \
-d '{"cbcEnable":false,"wifiId":"865001100040001000100000100000000008"}' \
"http://ac-java-warehouse:5814/zc-julink-warehouse/v1/getCipheredDKey"

curl -X POST -H "Content-Type:application/x-zc-object" -H "x-zc-major-domain-id:9" -H "x-zc-sub-domain-id:25" -H "X-Zc-Timeout:9999999" -H "x-zc-developer-id:333" \
-d '{"cbcEnable":false,"wifiId":"865001100040001000100000100000000008"}' \
"http://ac-julink-warehouse:5814/zc-julink-warehouse/v1/getCipheredDKey"


#########authBatch
curl -X POST -H "Content-Type:application/x-zc-object" -H "x-zc-major-domain-id:16" -H "x-zc-sub-domain-id:22" -H "X-Zc-Timeout:9999999" -H "x-zc-developer-id:333" \
-d '{"wifiId":"86500110001000100010000010b5bc926678"}' \
"http://ac-julink-warehouse:5814/zc-julink-warehouse/v1/authBatch"

curl -X POST -H "Content-Type:application/x-zc-object" -H "x-zc-major-domain-id:16" -H "x-zc-sub-domain-id:22" -H "X-Zc-Timeout:9999999" -H "x-zc-developer-id:333" \
-d '{"wifiId":"865040100010001004000000115bc82bd6fe"}' \
"http://ac-new-warehouse:5814/zc-julink-warehouse/v1/authBatch"

curl -X POST -H "Content-Type:application/x-zc-object" -H "x-zc-major-domain-id:16" -H "x-zc-sub-domain-id:22" -H "X-Zc-Timeout:9999999" -H "x-zc-developer-id:333" \
-d '{"wifiId":"865040100010001004000000115bc82bd6fe"}' \
"http://ac-new-warehouse:5814/ac-julink-warehouse/authBatch"

#########authTokenAndBatch
curl -X POST -H "Content-Type:application/x-zc-object" -H "x-zc-major-domain-id:16" -H "x-zc-sub-domain-id:22" -H "X-Zc-Timeout:9999999" -H "x-zc-developer-id:333" \
-d '{"wifiId":"86500110001000100010000010b5bc926678", "data": "aaa"}' \
"http://ac-julink-warehouse:5814/zc-julink-warehouse/v1/authTokenAndBatch"

curl -X POST -H "Content-Type:application/x-zc-object" -H "x-zc-major-domain-id:16" -H "x-zc-sub-domain-id:22" -H "X-Zc-Timeout:9999999" -H "x-zc-developer-id:333" \
-d '{"wifiId":"86500110001000100010000010b5bc926678", "data": "aaa"}' \
"http://ac-java-warehouse:5814/zc-julink-warehouse/v1/authTokenAndBatch"

curl -X POST -H "Content-Type:application/x-zc-object" -H "x-zc-major-domain-id:16" -H "x-zc-sub-domain-id:22" -H "X-Zc-Timeout:9999999" -H "x-zc-developer-id:333" \
-d '{"wifiId":"865040100010001004000000115bc82bd6fe", "data": "aaa"}' \
"http://ac-java-warehouse:5814/ac-julink-warehouse/authTokenAndBatch"




#$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
curl -X POST -H "Content-Type:application/x-zc-object" \
-d '{"cbcEnable":true,"wifiId":"865001100040001000100000100000000008","payload": "##@@!!"}' \
"http://ac-java-warehouse:5814/zc-julink-warehouse/v1/cipherWithDKey"




